#ifndef wxyoperation_h_
#define wxyoperation_h_
#include <pfcGlobal.h>
#include <uifcDefaultListeners.h>
#include <vector>
#include <iterator>
#include "OTKXString.h"
/*
class _FileExt
{
public:
    string fullname;
    string filename;
    string extension;
    string filepath;

public:
    _FileExt(const wstring &file)
    {
        gconvert::uni2utf8(file, fullname);
        char drive[_MAX_DRIVE];
        char dir[_MAX_DIR];
        char fname[_MAX_FNAME];
        char ext[_MAX_EXT];
        _splitpath(fullname.c_str(), drive, dir, fname, ext);
        filepath.assign(drive).append(dir);
        filename = (string)fname;
        extension = (string)ext;
        if (extension.length() > 1)
            extension = extension.substr(1);
    }
};
*/
void Export(xstring dialog);
void _3D2Stp(xstring dialog, pfcModels_ptr &Models);
void _Drw2Pdf(xstring dialog, pfcModels_ptr &Models);
void _MoveDrw(xstring dialog, pfcModels_ptr &Models);
pfcExportInstructions_ptr ReadStpOption(xstring handle);
pfcExportInstructions_ptr ReadPdfOption(xstring handle);

void GetList(xstring dialog);
// void ListFileByType(string path, string match, vector<_FileExt> &files);

#endif
